package cc.langk.core.constant;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Date: 2017/11/20
 * Time: 11:23
 * Description:
 */
public interface Constant {

    /**
     * 设备ID
     */
    String DEVICE_ID = "deviceId";
    /**
     * 系统版本
     */
    String SYS_VERSION = "sysVersion";
    /**
     * 系统的API版本
     */
    String SYS_LEVEL = "sysLevel";
    /**
     * 手机型号
     */
    String PHONE_MODEL = "phoneModel";
    /**
     * 手机品牌
     */
    String PHONE_BRAND = "phoneBrand";
    /**
     * 手机网络
     */
    String PHONE_NET = "phoneNet";

    /**
     * 成功
     */
    int RUSULT_SUCCESS = 0;
    /**
     * 失败
     */
    int RUSULT_FAILED = 1;
    /**
     * 出错
     */
    int RUSULT_ERROR = 2;
    /**
     * token失效
     */
    int RUSULT_TOKEN_INVALID = 3;


    String RUSULT_ERROR_MES = "服务器异常";
    String RUSULT_SUCCESS_MES = "success";

    String TOKEN_PREFIX="com.jf.user.token:";
    String UID_2_TOKEN_PREFIX="com.jf.user.uid:";

    String TOKEN_SYSTEM_PREFIX="com.jf.system.token:";
    String UID_SYSTEM_TOKEN_PREFIX="com.jf.sys.uid:";
}
